<template>
  <div>Frontend</div>
</template>

<script lang="ts" setup>
import { useRouter, useRoute } from "vue-router";
/*
  useRouter -> router 用来编程式导航
  useRoute -> route 用来获取路由参数
*/

defineOptions({
  name: "Frontend",
});

const route = useRoute();

console.log(route.query);
</script>

<style scoped lang="scss"></style>
